﻿@using AspDotNet.Framework.Mvc.FirstDemo.Models;
@{
    Layout = null;

    @:sdffg,Layout<br />
    @Layout;

    if (true)
    {

    }
    else { 
    }
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>ShowStudents</title>
</head>
<body>
    <div>
        <table border="1">
            <tr>
                <td>编号</td>
                <td>姓名</td>
                <td>出生年月</td>
            </tr>

            @if (true)
            {

            }
            else {
            }

            @foreach (Student s in ViewBag.StudentList)
            {
                <tr>
                    <td>@s.ID</td>
                    <td>@s.Name</td>
                    <td>@s.Birthday</td>
                </tr>
            }
        </table>
    </div>
</body>
</html>
